import sys
import os

sys.path.append(os.getcwd())
import runtest

runtest.use_tests(runtest.Tests([runtest.result_test({"deadline":"4"}, {"terminate_reason":"USER_TIME_LIMIT"}),
                                 runtest.result_test({"load_ratio_limit":"33", "deadline":"4"}, {"terminate_reason":"LOAD_RATIO_LIMIT"}),
                                 runtest.result_test({"load_ratio_limit":"40", "deadline":"4"}, {"terminate_reason":"LOAD_RATIO_LIMIT"}),
                                 runtest.result_test({"load_ratio_limit":"50", "deadline":"4"}, {"terminate_reason":"LOAD_RATIO_LIMIT"}),
                                 runtest.result_test({"load_ratio_limit":"60", "deadline":"4"}, {"terminate_reason":"LOAD_RATIO_LIMIT"}),
                                 runtest.result_test({"load_ratio_limit":"70", "deadline":"4"}, {"terminate_reason":"LOAD_RATIO_LIMIT"}),
                                 runtest.result_test({"load_ratio_limit":"90", "deadline":"4"}, {"terminate_reason":"LOAD_RATIO_LIMIT"}),
                                 runtest.result_test({"load_ratio_limit":"0.01", "deadline":"4"}, {"terminate_reason":"LOAD_RATIO_LIMIT"}),
                                 runtest.result_test({"load_ratio_limit":"0.0001", "deadline":"4"}, {"terminate_reason":"LOAD_RATIO_LIMIT"}),
                                 ]))